<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="sx" uri="/struts-dojo-tags" %>
<!DOCTYPE html>

<html>
<head>
    <s:head theme="xhtml"/>
</head>
<body>
<s:form action="register" method="post">
    <s:textfield name="loginUser.account" label="账号"/>
    <s:password name="loginUser.password" label="密码"/>
    <s:password name="loginUser.repassword" label="确认密码"/>
    <s:textfield name="loginUser.name" label="姓名"/>
    <s:radio list="#{'0':'先生','1':'女士'}" name="loginUser.sex" label="性别"/>
    <sx:datetimepicker name="loginUser.birthday" label="修改出生日期" displayFormat="yyyy-MM-dd"
                       value="%{#request.loginUser.birthday}"/>
    <s:textfield name="loginUser.contactInfo.phone" label="电话"/>
    <s:textfield name="loginUser.contactInfo.email" label="电子邮箱"/>
    <s:textfield name="loginUser.contactInfo.address" label="联系地址"/>
    <s:textfield name="loginUser.contactInfo.zipcode" label="邮政编码"/>
    <s:textfield name="loginUser.contactInfo.fax" label="传真号码"/>
    <s:submit value="注册"/>
    <s:reset value="重置"/>
</s:form>
</body>
</html>